// initial state
const state = () => ({
    viewMode: 0
})

// getters
const getters = {}

// actions
const actions = {}

// mutations
const mutations = {
    setViewMode (state, view_mode) {
        state.viewMode = view_mode;
    }
}

export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations
}